package com.flong.gui;

import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import com.flong.gui.MyFrame99;

public class Monitor1 extends MouseAdapter {
  public void mousePressed(MouseEvent e) {
    MyFrame99 f = (MyFrame99)e.getSource();
    f.addPoint(new Point(e.getX(),e.getY()));
    f.repaint();
  }
}